import request from '@/utils/request'

// 查询学员月度报告列表
export function listStudentReport (query) {
  return request({
    url: '/manager/studentReport/list',
    method: 'get',
    params: query
  })
}

// 查询学员月度报告详细
export function getStudentReport (id) {
  return request({
    url: '/manager/studentReport/' + id,
    method: 'get'
  })
}

// 新增学员月度报告
export function addStudentReport (data) {
  return request({
    url: '/manager/studentReport',
    method: 'post',
    data: data
  })
}

// 修改学员月度报告
export function updateStudentReport (data) {
  return request({
    url: '/manager/studentReport',
    method: 'put',
    data: data
  })
}

// 删除学员月度报告
export function delStudentReport (id) {
  return request({
    url: '/manager/studentReport/' + id,
    method: 'delete'
  })
}
